---
description: "Swift documentation for 'Mirror.DisplayStyle'"
keywords: ""
layout: "default"
title: "Mirror.DisplayStyle"
root: "/v5.1"
---

<div class="intro-declaration"><code class="language-swift">enum DisplayStyle</code></div><p>A suggestion of how a mirror's subject is to be interpreted.</p>
<div class="discussion comment"><p>Playgrounds and the debugger will show a representation similar
to the one used for instances of the kind indicated by the
<code>DisplayStyle</code> case name when the mirror is used for display.</p>
</div><h3>Cases</h3><div id="class-a2f2ed4f8ebc2cbb4c21a29dc40ab61d" class="declaration"><a class="toggle-link" href="#comment-class-a2f2ed4f8ebc2cbb4c21a29dc40ab61d">case class</a> <span class="required">Required</span><div class="comment collapse in" id="comment-class-a2f2ed4f8ebc2cbb4c21a29dc40ab61d"><h4>Declaration</h4><code class="language-swift">case class</code></div></div><div id="collection-db6d9b451b818ccc9a449383f2f0c450" class="declaration"><a class="toggle-link" href="#comment-collection-db6d9b451b818ccc9a449383f2f0c450">case collection</a> <span class="required">Required</span><div class="comment collapse in" id="comment-collection-db6d9b451b818ccc9a449383f2f0c450"><h4>Declaration</h4><code class="language-swift">case collection</code></div></div><div id="dictionary-abc20d7bde1df257f890e152af2e3470" class="declaration"><a class="toggle-link" href="#comment-dictionary-abc20d7bde1df257f890e152af2e3470">case dictionary</a> <span class="required">Required</span><div class="comment collapse in" id="comment-dictionary-abc20d7bde1df257f890e152af2e3470"><h4>Declaration</h4><code class="language-swift">case dictionary</code></div></div><div id="enum-da45ec4be6574774008df9be683a4778" class="declaration"><a class="toggle-link" href="#comment-enum-da45ec4be6574774008df9be683a4778">case enum</a> <span class="required">Required</span><div class="comment collapse in" id="comment-enum-da45ec4be6574774008df9be683a4778"><h4>Declaration</h4><code class="language-swift">case enum</code></div></div><div id="optional-d57c24f3fe52d16e7169b912dd647f0d" class="declaration"><a class="toggle-link" href="#comment-optional-d57c24f3fe52d16e7169b912dd647f0d">case optional</a> <span class="required">Required</span><div class="comment collapse in" id="comment-optional-d57c24f3fe52d16e7169b912dd647f0d"><h4>Declaration</h4><code class="language-swift">case optional</code></div></div><div id="set-cdaeeeba9b4a4c5ebf042c0215a7bb0e" class="declaration"><a class="toggle-link" href="#comment-set-cdaeeeba9b4a4c5ebf042c0215a7bb0e">case set</a> <span class="required">Required</span><div class="comment collapse in" id="comment-set-cdaeeeba9b4a4c5ebf042c0215a7bb0e"><h4>Declaration</h4><code class="language-swift">case set</code></div></div><div id="struct-0f8d6fb56fe6cdf55ad0114ec5b51dbb" class="declaration"><a class="toggle-link" href="#comment-struct-0f8d6fb56fe6cdf55ad0114ec5b51dbb">case struct</a> <span class="required">Required</span><div class="comment collapse in" id="comment-struct-0f8d6fb56fe6cdf55ad0114ec5b51dbb"><h4>Declaration</h4><code class="language-swift">case struct</code></div></div><div id="tuple-0636f7c1e41a18679ab958368587c630" class="declaration"><a class="toggle-link" href="#comment-tuple-0636f7c1e41a18679ab958368587c630">case tuple</a> <span class="required">Required</span><div class="comment collapse in" id="comment-tuple-0636f7c1e41a18679ab958368587c630"><h4>Declaration</h4><code class="language-swift">case tuple</code></div></div>